package com.example.housingRentalSystem.bean;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import lombok.Data;


/**
 * @author 王硕
 */
@Data
@ApiModel(value = "HouseImages", description = "房屋图片信息实体")
public class HouseImages {
    @ApiModelProperty(name = "id", value = "图片记录唯一标识")
    private Integer id;

    @ApiModelProperty(name = "houseId", value = "关联的房屋ID")
    private Integer houseId;

    @ApiModelProperty(name = "imageUrl", value = "图片访问地址")
    private String imageUrl;

    public HouseImages(Integer houseId, String imageUrl) {
        this.houseId = houseId;
        this.imageUrl = imageUrl;
    }
}